#include "WeatherData.h"

void WeatherData::setMeasurements(float temperature, float humidity, float pressure){
    this->temperature = temperature;
    this->humidity = humidity;
    this->pressure = pressure;
    measurementsChanged();
}

void WeatherData::measurementsChanged(){
    notifyObserves();
}

float WeatherData::getHumidity(){
    return humidity;
}

float WeatherData::getTemperature(){
    return temperature;
}

float WeatherData::getPressure(){
    return pressure;
}